//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.itheima.pinda.authority.dto.auth;

import com.itheima.pinda.authority.enumeration.auth.Sex;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;

@ApiModel(
        value = "UserPageDTO",
        description = "用户分页对象"
)
public class UserPageDTO {
    @ApiModelProperty("账号")
    private String account;
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("组织ID")
    private Long orgId;
    @ApiModelProperty("岗位ID")
    private Long stationId;
    @ApiModelProperty("手机")
    private String mobile;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("性别")
    private Sex sex;
    @ApiModelProperty("启用状态 1启用 0禁用")
    private Boolean status;
    @ApiModelProperty("是否可登陆")
    private Boolean isCanLogin;
    @ApiModelProperty("照片")
    private String photo;
    @ApiModelProperty("工作描述")
    private String workDescribe;
    @ApiModelProperty("登录次数")
    private Integer loginCount;
    @ApiModelProperty("开始创建时间")
    private LocalDateTime startCreateTime;
    @ApiModelProperty("截止创建时间")
    private LocalDateTime endCreateTime;

    public String getAccount() {
        return this.account;
    }

    public String getName() {
        return this.name;
    }

    public Long getOrgId() {
        return this.orgId;
    }

    public Long getStationId() {
        return this.stationId;
    }

    public String getMobile() {
        return this.mobile;
    }

    public String getEmail() {
        return this.email;
    }

    public Sex getSex() {
        return this.sex;
    }

    public Boolean getStatus() {
        return this.status;
    }

    public Boolean getIsCanLogin() {
        return this.isCanLogin;
    }

    public String getPhoto() {
        return this.photo;
    }

    public String getWorkDescribe() {
        return this.workDescribe;
    }

    public Integer getLoginCount() {
        return this.loginCount;
    }

    public LocalDateTime getStartCreateTime() {
        return this.startCreateTime;
    }

    public LocalDateTime getEndCreateTime() {
        return this.endCreateTime;
    }

    public UserPageDTO setAccount(final String account) {
        this.account = account;
        return this;
    }

    public UserPageDTO setName(final String name) {
        this.name = name;
        return this;
    }

    public UserPageDTO setOrgId(final Long orgId) {
        this.orgId = orgId;
        return this;
    }

    public UserPageDTO setStationId(final Long stationId) {
        this.stationId = stationId;
        return this;
    }

    public UserPageDTO setMobile(final String mobile) {
        this.mobile = mobile;
        return this;
    }

    public UserPageDTO setEmail(final String email) {
        this.email = email;
        return this;
    }

    public UserPageDTO setSex(final Sex sex) {
        this.sex = sex;
        return this;
    }

    public UserPageDTO setStatus(final Boolean status) {
        this.status = status;
        return this;
    }

    public UserPageDTO setIsCanLogin(final Boolean isCanLogin) {
        this.isCanLogin = isCanLogin;
        return this;
    }

    public UserPageDTO setPhoto(final String photo) {
        this.photo = photo;
        return this;
    }

    public UserPageDTO setWorkDescribe(final String workDescribe) {
        this.workDescribe = workDescribe;
        return this;
    }

    public UserPageDTO setLoginCount(final Integer loginCount) {
        this.loginCount = loginCount;
        return this;
    }

    public UserPageDTO setStartCreateTime(final LocalDateTime startCreateTime) {
        this.startCreateTime = startCreateTime;
        return this;
    }

    public UserPageDTO setEndCreateTime(final LocalDateTime endCreateTime) {
        this.endCreateTime = endCreateTime;
        return this;
    }

    public UserPageDTO() {
    }

    public UserPageDTO(final String account, final String name, final Long orgId, final Long stationId, final String mobile, final String email, final Sex sex, final Boolean status, final Boolean isCanLogin, final String photo, final String workDescribe, final Integer loginCount, final LocalDateTime startCreateTime, final LocalDateTime endCreateTime) {
        this.account = account;
        this.name = name;
        this.orgId = orgId;
        this.stationId = stationId;
        this.mobile = mobile;
        this.email = email;
        this.sex = sex;
        this.status = status;
        this.isCanLogin = isCanLogin;
        this.photo = photo;
        this.workDescribe = workDescribe;
        this.loginCount = loginCount;
        this.startCreateTime = startCreateTime;
        this.endCreateTime = endCreateTime;
    }

    public String toString() {
        return "UserPageDTO(super=" + super.toString() + ", account=" + this.getAccount() + ", name=" + this.getName() + ", orgId=" + this.getOrgId() + ", stationId=" + this.getStationId() + ", mobile=" + this.getMobile() + ", email=" + this.getEmail() + ", sex=" + this.getSex() + ", status=" + this.getStatus() + ", isCanLogin=" + this.getIsCanLogin() + ", photo=" + this.getPhoto() + ", workDescribe=" + this.getWorkDescribe() + ", loginCount=" + this.getLoginCount() + ", startCreateTime=" + this.getStartCreateTime() + ", endCreateTime=" + this.getEndCreateTime() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof UserPageDTO)) {
            return false;
        } else {
            UserPageDTO other = (UserPageDTO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$account = this.getAccount();
                Object other$account = other.getAccount();
                if (this$account == null) {
                    if (other$account != null) {
                        return false;
                    }
                } else if (!this$account.equals(other$account)) {
                    return false;
                }

                Object this$name = this.getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }

                Object this$orgId = this.getOrgId();
                Object other$orgId = other.getOrgId();
                if (this$orgId == null) {
                    if (other$orgId != null) {
                        return false;
                    }
                } else if (!this$orgId.equals(other$orgId)) {
                    return false;
                }

                label158: {
                    Object this$stationId = this.getStationId();
                    Object other$stationId = other.getStationId();
                    if (this$stationId == null) {
                        if (other$stationId == null) {
                            break label158;
                        }
                    } else if (this$stationId.equals(other$stationId)) {
                        break label158;
                    }

                    return false;
                }

                label151: {
                    Object this$mobile = this.getMobile();
                    Object other$mobile = other.getMobile();
                    if (this$mobile == null) {
                        if (other$mobile == null) {
                            break label151;
                        }
                    } else if (this$mobile.equals(other$mobile)) {
                        break label151;
                    }

                    return false;
                }

                Object this$email = this.getEmail();
                Object other$email = other.getEmail();
                if (this$email == null) {
                    if (other$email != null) {
                        return false;
                    }
                } else if (!this$email.equals(other$email)) {
                    return false;
                }

                label137: {
                    Object this$sex = this.getSex();
                    Object other$sex = other.getSex();
                    if (this$sex == null) {
                        if (other$sex == null) {
                            break label137;
                        }
                    } else if (this$sex.equals(other$sex)) {
                        break label137;
                    }

                    return false;
                }

                label130: {
                    Object this$status = this.getStatus();
                    Object other$status = other.getStatus();
                    if (this$status == null) {
                        if (other$status == null) {
                            break label130;
                        }
                    } else if (this$status.equals(other$status)) {
                        break label130;
                    }

                    return false;
                }

                Object this$isCanLogin = this.getIsCanLogin();
                Object other$isCanLogin = other.getIsCanLogin();
                if (this$isCanLogin == null) {
                    if (other$isCanLogin != null) {
                        return false;
                    }
                } else if (!this$isCanLogin.equals(other$isCanLogin)) {
                    return false;
                }

                Object this$photo = this.getPhoto();
                Object other$photo = other.getPhoto();
                if (this$photo == null) {
                    if (other$photo != null) {
                        return false;
                    }
                } else if (!this$photo.equals(other$photo)) {
                    return false;
                }

                label109: {
                    Object this$workDescribe = this.getWorkDescribe();
                    Object other$workDescribe = other.getWorkDescribe();
                    if (this$workDescribe == null) {
                        if (other$workDescribe == null) {
                            break label109;
                        }
                    } else if (this$workDescribe.equals(other$workDescribe)) {
                        break label109;
                    }

                    return false;
                }

                label102: {
                    Object this$loginCount = this.getLoginCount();
                    Object other$loginCount = other.getLoginCount();
                    if (this$loginCount == null) {
                        if (other$loginCount == null) {
                            break label102;
                        }
                    } else if (this$loginCount.equals(other$loginCount)) {
                        break label102;
                    }

                    return false;
                }

                Object this$startCreateTime = this.getStartCreateTime();
                Object other$startCreateTime = other.getStartCreateTime();
                if (this$startCreateTime == null) {
                    if (other$startCreateTime != null) {
                        return false;
                    }
                } else if (!this$startCreateTime.equals(other$startCreateTime)) {
                    return false;
                }

                Object this$endCreateTime = this.getEndCreateTime();
                Object other$endCreateTime = other.getEndCreateTime();
                if (this$endCreateTime == null) {
                    if (other$endCreateTime != null) {
                        return false;
                    }
                } else if (!this$endCreateTime.equals(other$endCreateTime)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof UserPageDTO;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $account = this.getAccount();
        result = result * 59 + ($account == null ? 43 : $account.hashCode());
        Object $name = this.getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $orgId = this.getOrgId();
        result = result * 59 + ($orgId == null ? 43 : $orgId.hashCode());
        Object $stationId = this.getStationId();
        result = result * 59 + ($stationId == null ? 43 : $stationId.hashCode());
        Object $mobile = this.getMobile();
        result = result * 59 + ($mobile == null ? 43 : $mobile.hashCode());
        Object $email = this.getEmail();
        result = result * 59 + ($email == null ? 43 : $email.hashCode());
        Object $sex = this.getSex();
        result = result * 59 + ($sex == null ? 43 : $sex.hashCode());
        Object $status = this.getStatus();
        result = result * 59 + ($status == null ? 43 : $status.hashCode());
        Object $isCanLogin = this.getIsCanLogin();
        result = result * 59 + ($isCanLogin == null ? 43 : $isCanLogin.hashCode());
        Object $photo = this.getPhoto();
        result = result * 59 + ($photo == null ? 43 : $photo.hashCode());
        Object $workDescribe = this.getWorkDescribe();
        result = result * 59 + ($workDescribe == null ? 43 : $workDescribe.hashCode());
        Object $loginCount = this.getLoginCount();
        result = result * 59 + ($loginCount == null ? 43 : $loginCount.hashCode());
        Object $startCreateTime = this.getStartCreateTime();
        result = result * 59 + ($startCreateTime == null ? 43 : $startCreateTime.hashCode());
        Object $endCreateTime = this.getEndCreateTime();
        result = result * 59 + ($endCreateTime == null ? 43 : $endCreateTime.hashCode());
        return result;
    }
}
